package com.example.gameforum.dao;

import com.example.gameforum.entity.Comment;
import com.example.gameforum.entity.User;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface CommentDao extends JpaRepository<Comment ,Integer> {

    List<Comment> findDistinctByCuser(User user);
}
